package com.laowang.project.system.service.impl;

import java.util.List;
                                        import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.laowang.project.system.mapper.MyCyhMerchantSettleInstructionsMapper;
import com.laowang.project.system.domain.MyCyhMerchantSettleInstructions;
import com.laowang.project.system.service.MyCyhMerchantSettleInstructionsService;

/**
 * 商家入驻说明Service业务层处理
 *
 * @author laowang
 * @date 2023-10-30
 */
@Service
public class MyCyhMerchantSettleInstructionsServiceImpl implements MyCyhMerchantSettleInstructionsService {
    @Autowired
    private MyCyhMerchantSettleInstructionsMapper myCyhMerchantSettleInstructionsMapper;

    /**
     * 查询商家入驻说明
     *
     * @param id 商家入驻说明ID
     * @return 商家入驻说明
     */
    @Override
    public MyCyhMerchantSettleInstructions selectMyCyhMerchantSettleInstructionsById(Integer id) {
        return myCyhMerchantSettleInstructionsMapper.selectMyCyhMerchantSettleInstructionsById(id);
    }

    /**
     * 查询商家入驻说明列表
     *
     * @param myCyhMerchantSettleInstructions 商家入驻说明
     * @return 商家入驻说明
     */
    @Override
    public List<MyCyhMerchantSettleInstructions> selectMyCyhMerchantSettleInstructionsList(MyCyhMerchantSettleInstructions myCyhMerchantSettleInstructions) {
        return myCyhMerchantSettleInstructionsMapper.selectMyCyhMerchantSettleInstructionsList(myCyhMerchantSettleInstructions);
    }

    /**
     * 新增商家入驻说明
     *
     * @param myCyhMerchantSettleInstructions 商家入驻说明
     * @return 结果
     */
    @Override
    public int insertMyCyhMerchantSettleInstructions(MyCyhMerchantSettleInstructions myCyhMerchantSettleInstructions) {
                                                                            return myCyhMerchantSettleInstructionsMapper.insertMyCyhMerchantSettleInstructions(myCyhMerchantSettleInstructions);
    }

    /**
     * 修改商家入驻说明
     *
     * @param myCyhMerchantSettleInstructions 商家入驻说明
     * @return 结果
     */
    @Override
    public int updateMyCyhMerchantSettleInstructions(MyCyhMerchantSettleInstructions myCyhMerchantSettleInstructions) {
                                                                            return myCyhMerchantSettleInstructionsMapper.updateMyCyhMerchantSettleInstructions(myCyhMerchantSettleInstructions);
    }

    /**
     * 批量删除商家入驻说明
     *
     * @param ids 需要删除的商家入驻说明ID
     * @return 结果
     */
    @Override
    public int deleteMyCyhMerchantSettleInstructionsByIds(Integer[] ids) {
        return myCyhMerchantSettleInstructionsMapper.deleteMyCyhMerchantSettleInstructionsByIds(ids);
    }

    /**
     * 删除商家入驻说明信息
     *
     * @param id 商家入驻说明ID
     * @return 结果
     */
    @Override
    public int deleteMyCyhMerchantSettleInstructionsById(Integer id) {
        return myCyhMerchantSettleInstructionsMapper.deleteMyCyhMerchantSettleInstructionsById(id);
    }
}
